package com.enzoism.testspring.transaction.service;

import com.enzoism.testspring.transaction.model.StudentDemo;

public class StudentServiceImpl implements StudentService {

    @Override
    public boolean insert(StudentDemo demo) {
        System.out.println("insert success!");
        return true;
    }

    @Override
    public boolean insert2(StudentDemo studentDemo) {
        System.out.println(1 / 0);
        return false;
    }
}
